<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ include file="../base.jsp"%>
<!DOCTYPE html>
<html>

<head>
    <!-- 页面meta -->
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <title>数据 - AdminLTE2定制版</title>
    <meta name="description" content="AdminLTE2定制版">
    <meta name="keywords" content="AdminLTE2定制版">
    <!-- Tell the browser to be responsive to screen width -->
    <meta content="width=device-width,initial-scale=1,maximum-scale=1,user-scalable=no" name="viewport">
    <!-- 页面meta /-->
</head>
<body>
<div id="frameContent" class="content-wrapper" style="margin-left:0px;">
    <section class="content-header">
        <h1>
            首页
        </h1>
    </section>
    <section class="content">
        <div class="box box-primary">
            <div style="text-align:center;height: 290px;margin-top: 50px">
                <span style="font-size: 30px">恭喜您，反馈成功！</span>
                <div><span style="color: red" id="span">5</span>秒后，跳转到 <a href="/user/feedback/Succerss.do">首页</a> </div>
            </div>
        </div>
    </section>
</div>
</body>

<script src="../plugins/jQuery/jquery-2.2.3.min.js"></script>
<script>
    $(function(){
        let index=4;
        setInterval(changepage,1000);
        function changepage(){
            $("#span").text(index);
            index--;
            if(index==0){
                location.href="/user/feedback/Succerss.do";
            }
        }
    })
</script>
</html>